package cn.consult;

import cn.consult.netty.NettyServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

import javax.annotation.PostConstruct;

/**
 * 启动类
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
//@MapperScan(basePackages = {"cn.sdormitory.sys.dao","cn.sdormitory.monitor.dao","cn.sdormitory.basedata.dao","cn.sdormitory.sysset.dao"})
@MapperScan(basePackages = {"cn.consult.*.dao"})
@EnableScheduling
public class  PlatformApplication {


    public static void main(String[] args) {
        SpringApplication.run(PlatformApplication.class, args);
    }



}